package com.mengdie.shuidi.broadcastreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;

public class URLReceiver extends BroadcastReceiver {
    public URLReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        String uri = intent.getStringExtra("uri");
        Intent var3 = new Intent("android.intent.action.VIEW", Uri.parse(uri));
        var3.addFlags(268435456);
        context.startActivity(var3);
    }
}
